package com.milkshopbackend.milkshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("scheduled_task")
public class ScheduledTask {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String taskName;
    private String taskKey;
    private String taskDesc;
    private Integer taskStatus;
    private LocalDateTime lastExecuteTime;
    private LocalDateTime nextExecuteTime;
    private String cronExpression;
    private String errorMsg;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 